// 加入项目申请
<template>
    <system-msg-model :msg="msg">
        <div slot="content">
            <div class="system-msg-content">
                <a class="system-msg-line" :href="`/profile/base/${getMsg().userId}`">{{ getMsg().username }}</a>
                <span class="system-msg-line"> 申请加入项目</span>
                <a class="system-msg-line" :href='`/project/${getRequest().id}`'>《{{ getRequest().name }}》</a>
                <span class="system-msg-line">中的</span>
                <strong class="system-msg-line"> {{ getRequest().tag }} </strong>
                <span class="system-msg-line">一职</span>
                <br>
                <span class="system-msg-line" style="color: #2D8CF0; cursor: pointer" @click="display = true">查看留言</span>
            </div>
            <Button type="primary" size="small" @click="doResponse(true)">
                接受
            </Button>
            <Button size="small" style="margin-left: 10px" @click="doResponse(false)">
                拒绝
            </Button>
            <Modal v-model="display" :closable="false">
                <div style="text-align: left; margin-top: 20px">
                    {{ getRequest().msg }}
                </div>
                <div slot="footer" style="text-align: center;">
                    <Button type="primary" @click="display = false">确定</Button>
                </div>
            </Modal>
        </div>
    </system-msg-model>
</template>

<script lang='ts'>
import { JoinProjectRequestView } from "./Index";
export default JoinProjectRequestView;
</script>

<style lang='scss' >
@import './Index.scss';
</style>